#ifndef WIDGET_H
#define WIDGET_H

#include <QtGui/QWidget>
#include "netthread/severthread.h"

class QLabel;
class QPushButton;
class QTextEdit;
class QCheckBox;

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = 0);
    ~Widget();
    QString             getname();
    QString             getps();

    QLabel              *m_zzzdz_lable;
    QLabel              *m_yhm_lable;
    QLabel              *m_mm_lable;

    QPushButton         *m_qd_btn;
    QPushButton         *m_xjyh_btn;

    QTextEdit           *m_zzzdz_edit;
    QTextEdit           *m_yhm_edit;
    QTextEdit           *m_mm_edit;
    QCheckBox           *m_sfqyzzz_box;

    SeverThread         st;

public slots:
    void ShowNewUserWidget();
    void ShowMainView();
    void ClickZZZ();
};

#endif // WIDGET_H
